//
//  LanguageTool.h
//  ZiJinLian
//
//  Created by 🐛 on 2018/1/3.
//  Copyright © 2018年 lzy. All rights reserved.
//




#import <Foundation/Foundation.h>

@interface LanguageTool : NSObject

+(id)sharedInstance;

/**
 *  返回table中指定的key的值
 *
 *  @param key   key
 *  @param table table
 *
 *  @return 返回table中指定的key的值
 */
-(NSString *)getStringForKey:(NSString *)key withTable:(NSString *)table;

/**
 *  改变当前语言
 */
-(void)changeNowLanguage:(NSString *)language;

/**
 *  设置新的语言
 *
 *  @param language 新语言
 */
-(void)setNewLanguage:(NSString*)language;


@end
